package egovframework.com.uss.olh.awm.service.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import egovframework.com.cmm.service.impl.EgovComAbstractDAO;
import egovframework.com.uss.olh.awm.service.AdministrationWordManage;

/**
 * 행정전문용어사전관리를 처리하는 Dao Class 구현
 * 
 * @author 공통서비스 장동한
 * @since 2009.07.03
 * @version 1.0
 * @see <pre>
 * &lt;&lt; 개정이력(Modification Information) &gt;&gt;
 *   
 *   수정일      수정자           수정내용
 *  -------    --------    ---------------------------
 *   2009.07.03  장동한          최초 생성
 * 
 * </pre>
 */
@Repository("onlineAdministrationWordManageDao")
public class AdministrationWordManageDao extends EgovComAbstractDAO {

	/**
	 * 행정전문용어사전관리를(을) 삭제한다.
	 * 
	 * @param administrationWordManage
	 *            행정전문용어사전관리 정보가 담김 VO
	 * @throws Exception
	 */
	public void deleteAdministrationWordManage(
			AdministrationWordManage administrationWordManage) throws Exception {
		delete("AdministrationWord.deleteAdministrationWord",
				administrationWordManage);

	}

	/**
	 * 행정전문용어사전관리를(을) 등록한다.
	 * 
	 * @param qadministrationWordManage
	 *            행정전문용어사전관리 정보가 담김 VO
	 * @throws Exception
	 */
	public void insertAdministrationWordManage(
			AdministrationWordManage administrationWordManage) throws Exception {
		insert("AdministrationWord.insertAdministrationWord",
				administrationWordManage);
	}

	/**
	 * 행정전문용어사전관리를(을) 상세조회 한다.
	 * 
	 * @param administrationWordManage
	 *            행정전문용어사전관리 정보가 담김 VO
	 * @return List
	 * @throws Exception
	 */
	public AdministrationWordManage selectAdministrationWordManageDetail(
			AdministrationWordManage administrationWordManage) throws Exception {
		return (AdministrationWordManage) select(
				"AdministrationWord.selectAdministrationWordDetail",
				administrationWordManage);
	}

	/**
	 * 행정전문용어사전관리를(을) 목록을 한다.
	 * 
	 * @param searchVO
	 *            조회할 정보가 담긴 VO
	 * @return List
	 * @throws Exception
	 */
	public List selectAdministrationWordManageList(
			AdministrationWordManage searchVO) throws Exception {
		return list("AdministrationWord.selectAdministrationWord", searchVO);
	}

	/**
	 * 행정전문용어사전관리를(을) 목록 전체 건수를(을) 조회한다.
	 * 
	 * @param searchVO
	 *            조회할 정보가 담긴 VO
	 * @return int
	 * @throws Exception
	 */
	public int selectAdministrationWordManageListCnt(
			AdministrationWordManage searchVO) throws Exception {
		return (Integer) select(
				"AdministrationWord.selectAdministrationWordCnt", searchVO);
	}

	/**
	 * 행정전문용어사전관리를(을) 수정한다.
	 * 
	 * @param administrationWordManage
	 *            행정전문용어사전관리 정보가 담김 VO
	 * @throws Exception
	 */
	public void updateAdministrationWordManage(
			AdministrationWordManage administrationWordManage) throws Exception {
		update("AdministrationWord.updateAdministrationWord",
				administrationWordManage);
	}

}
